﻿using System.Data.Entity.ModelConfiguration;
using ZY.EntityFrameWork.Core.Model.Entity;
using ZY.EntityFrameWork.Core.Model.Entity.Authen;

namespace ZY.EntityFrameWork.Core.Mapping.SQLServer
{
    public class PermissionMap : EntityTypeConfiguration<Permission>
    {
        public PermissionMap()
        {
            ToTable("PermissionInfo").HasKey(q => q.Id);
        }
    }
}
